package com.distributedDataBase.service;

import com.distributedDataBase.pojo.Product;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ProductService {

    List<Product> listAll();

    PageInfo<Product> page(String name, Integer pageNum, Integer pageSize);
}
